package org.example.aidemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.aidemo.pojo.User;


@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from users where username=#{username}")
    User findByUsername(String username);

}
